import { getQualityDataInfo } from '@src/api/intelligentQuality.js'

export const useGetDataInfo = () => {
    const getQualityDataInfoFetch = (params: any) => {
        return getQualityDataInfo(params).then(res => {
            return Promise.resolve(res)
        }).catch(err => {
            return Promise.reject(err)
        })
    }

    return {
        getQualityDataInfoFetch
    }
}